﻿// Decompiled with JetBrains decompiler
// Type: LayersParser.Objects.Correspondance
// Assembly: DnProcessSimulateCommands, Version=2402.0.0.890, Culture=neutral, PublicKeyToken=null
// MVID: A885D881-AEDF-447E-852A-6F13102E089C
// Assembly location: C:\Program Files\Tecnomatix_2402\eMPower\DotNetCommands\DnProcessSimulateCommands.dll

using System.Collections.Generic;


namespace LayersParser.Objects;

public class Correspondance
{
  private List<string> motions = new List<string>();
  private List<string> indexs = new List<string>();

  public string GetCorrespondingNumber(string name) => this.indexs[this.motions.IndexOf(name)];

  public string GetCorrespondingMotion(string index) => this.motions[this.indexs.IndexOf(index)];

  public List<string> Index
  {
    get => this.indexs;
    set => this.indexs = value;
  }

  public List<string> Motions
  {
    get => this.motions;
    set => this.motions = value;
  }
}
